package com.example.springbootServiceNetwork.demos.web.Service;


import com.example.springbootServiceNetwork.demos.web.Config.JwtInfo;
import com.example.springbootServiceNetwork.demos.web.Config.Result;
import com.example.springbootServiceNetwork.demos.web.Dto.PageDto;
import com.example.springbootServiceNetwork.demos.web.Entity.User;

public interface UserService {
    Result register(User user);

    Result login(User user);

    Result scanCodeLogin(Object object);

    Result selUserInfo(String userId);

    Result queryContributors(User user);

    Result verifyUser(String userId);

    Result updateUser(User user,JwtInfo jwtInfo);

    Result deleteUser(User user, JwtInfo jwtInfo);

    Result updateOffline(User user);

    Result queryAllUser(PageDto pageDto, JwtInfo jwtInfo);

    Result updateAllUser(User user, JwtInfo jwtInfo);


    Result deleteAllUser(User user, JwtInfo jwtInfo);
}
